package edu.mymvc.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ComponentScan(value = {"edu.mymvc.service"})
@PropertySource({"classpath:jdbc.properties"})
@Import({JDBCConfig.class, MybatisConfig.class})
public class SpringConfig {
}
